class ABBlock {
  int? age;
  String? avatar;
  String? broadcasterId;
  String? gender;
  String? nickname;
  String? registerCountry;

  ABBlock({this.age, this.avatar, this.broadcasterId, this.nickname, this.registerCountry});

  static ABBlock fromJson(Map<String, dynamic> json) {
    return ABBlock(
      age: json['age'],
      avatar: json['avatar'],
      broadcasterId: json['broadcasterId'],
      nickname: json['nickName'],
      registerCountry: json['registerCountry'],
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'age': age,
      'avatar': avatar,
      'broadcasterId': broadcasterId,
      'nickname': nickname,
      'registerCountry': registerCountry,
    };
  }
}